import request from '@/utils/request'

// 查询服务列表台账列表
export function listServicetable(query) {
  return request({
    url: '/servicetables/servicetable/list',
    method: 'get',
    params: query
  })
}

// 查询服务列表台账列表
export function pushJarToCloud(query) {
  return request({
    url: '/forTaskSys/pushJarToCloud',
    method: 'get',
    params: query
  })
}



// 查询服务列表台账详细
export function getServicetable(id) {
  return request({
    url: '/servicetables/servicetable/' + id,
    method: 'get'
  })
}

// 新增服务列表台账
export function addServicetable(data) {
  return request({
    url: '/servicetables/servicetable',
    method: 'post',
    data: data
  })
}

// 修改服务列表台账
export function updateServicetable(data) {
  return request({
    url: '/servicetables/servicetable',
    method: 'put',
    data: data
  })
}

// 删除服务列表台账
export function delServicetable(id) {
  return request({
    url: '/servicetables/servicetable/' + id,
    method: 'delete'
  })
}
